/**
 * com.cnhis.his.customer.mapper.Aaz1.java
 */
package com.mbmed.doctor.homepage.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  Aaz1.java
 * @author 刘武
 * @version 0.1
 * @todo	Aaz1数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-11-25 10:50:26
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class Aaz1 extends BaseVO implements java.io.Serializable{

	private java.lang.String aaz01;
	private java.lang.String aaz02;
	private java.lang.String aaz01a;
	private java.lang.Byte lvlnr;
	private java.lang.Byte isdef;
	public Aaz1(){
	}

	public Aaz1(
		java.lang.String aaz01
	){
		this.aaz01 = aaz01;
	}



	public void setAaz01(java.lang.String value) {
		this.aaz01 = value;
	}	
	public java.lang.String getAaz01() {
		return this.aaz01;
	}

	public void setAaz02(java.lang.String value) {
		this.aaz02 = value;
	}	
	public java.lang.String getAaz02() {
		return this.aaz02;
	}

	public void setAaz01a(java.lang.String value) {
		this.aaz01a = value;
	}	
	public java.lang.String getAaz01a() {
		return this.aaz01a;
	}

	public void setLvlnr(java.lang.Byte value) {
		this.lvlnr = value;
	}	
	public java.lang.Byte getLvlnr() {
		return this.lvlnr;
	}

	public void setIsdef(java.lang.Byte value) {
		this.isdef = value;
	}	
	public java.lang.Byte getIsdef() {
		return this.isdef;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Aaz01").append("='").append(getAaz01()).append("' ");	
			   buffer.append("Aaz02").append("='").append(getAaz02()).append("' ");	
			   buffer.append("Aaz01a").append("='").append(getAaz01a()).append("' ");	
			   buffer.append("Lvlnr").append("='").append(getLvlnr()).append("' ");	
			   buffer.append("Isdef").append("='").append(getIsdef()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		

	public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof Aaz1) ) return false;
		 Aaz1  castOther = ( Aaz1) other;  
		 return 
					( (this.getAaz01()==castOther.getAaz01()) ||( this.getAaz01()!=null && castOther.getAaz01()!=null && this.getAaz01().equals(castOther.getAaz01()) ) )
					&&( (this.getAaz02()==castOther.getAaz02()) ||( this.getAaz02()!=null && castOther.getAaz02()!=null && this.getAaz02().equals(castOther.getAaz02()) ) )
					&&( (this.getAaz01a()==castOther.getAaz01a()) ||( this.getAaz01a()!=null && castOther.getAaz01a()!=null && this.getAaz01a().equals(castOther.getAaz01a()) ) )
					&&( (this.getLvlnr()==castOther.getLvlnr()) ||( this.getLvlnr()!=null && castOther.getLvlnr()!=null && this.getLvlnr().equals(castOther.getLvlnr()) ) )
					&&( (this.getIsdef()==castOther.getIsdef()) ||( this.getIsdef()!=null && castOther.getIsdef()!=null && this.getIsdef().equals(castOther.getIsdef()) ) )
			;
    }

	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getAaz01() == null ? 0 : this.getAaz01().hashCode() );
				  result = 37 * result + (getAaz02() == null ? 0 : this.getAaz02().hashCode() );
				  result = 37 * result + (getAaz01a() == null ? 0 : this.getAaz01a().hashCode() );
				  result = 37 * result + (getLvlnr() == null ? 0 : this.getLvlnr().hashCode() );
				  result = 37 * result + (getIsdef() == null ? 0 : this.getIsdef().hashCode() );
         return result;
	} 
	
}
